package org.zcl.exception;

/**
 * @author zhuchenglin
 * @since 2022/9/7 14:09
 */
public class BaseException extends RuntimeException {
    private String code;
    private String message;

    public BaseException() {
    }

    public BaseException(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }

    public void setCode(final String code) {
        this.code = code;
    }

    public void setMessage(final String message) {
        this.message = message;
    }
}